package com.service.common.core.domain.entity;

import com.service.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.service.common.annotation.Excel;

/**
 * 分数信息对象 score_info
 *
 * @author service
 * @date 2024-05-01
 */
public class ScoreInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 学号姓名 */
    @Excel(name = "学号姓名")
    private String stuId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String stuName;

    /** 年度或期次 */
    @Excel(name = "年度或期次")
    private String period;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String subjectName;

    /** 分数 */
    @Excel(name = "分数")
    private String score;

    /** 打分人id */
    @Excel(name = "打分人id")
    private String scorerId;

    /** 打分人 */
    @Excel(name = "打分人")
    private String scorer;

    /** 打分类型 */
    @Excel(name = "打分类型")
    private String scoreType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStuId(String stuId)
    {
        this.stuId = stuId;
    }

    public String getStuId()
    {
        return stuId;
    }
    public void setStuName(String stuName)
    {
        this.stuName = stuName;
    }

    public String getStuName()
    {
        return stuName;
    }
    public void setPeriod(String period)
    {
        this.period = period;
    }

    public String getPeriod()
    {
        return period;
    }
    public void setSubjectName(String subjectName)
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName()
    {
        return subjectName;
    }
    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }
    public void setScorerId(String scorerId)
    {
        this.scorerId = scorerId;
    }

    public String getScorerId()
    {
        return scorerId;
    }
    public void setScorer(String scorer)
    {
        this.scorer = scorer;
    }

    public String getScorer()
    {
        return scorer;
    }
    public void setScoreType(String scoreType)
    {
        this.scoreType = scoreType;
    }

    public String getScoreType()
    {
        return scoreType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuId", getStuId())
            .append("stuName", getStuName())
            .append("period", getPeriod())
            .append("subjectName", getSubjectName())
            .append("score", getScore())
            .append("scorerId", getScorerId())
            .append("scorer", getScorer())
            .append("scoreType", getScoreType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
